pp108 : cordysProperties Property

cordysProperties Property

This property was formerly known as properties and is now renamed to cordysProperties to avoid HTML 5 keyword conflict.


Object that denotes the XML document that contains the Schema definition of the properties that belong to an object.

Syntax

HTML

<div cordysType =  "wcp.library.util.PropertySheetLibrary"  id=propertysheetID properties=oPropertySchema >
...
</div>

Scripting

propertysheetID.properties [ =oPropertySchema ]


Parameters

Parameter

Description

oPropertySchema

Object that contains the schema definition of the properties that is to be displayed in the property sheet.


Remarks


Following is a sample declaration of the propertypropertySchemain the HTML page.

XML

<script type="cordys/xml" id="propertySchema">
    <formula annotation="A collection of one or more expressions.> 
       <description type="string" path="description" annotation="The description of the formula."/> 
       <type type="string" path="type" annotation="The actual name of the formula"/> 
    </formula>
</script>



The ID of the XML that is defined above is "propertySchema". Once this is defined, the properties property can be set in the page as follows.

Scripting

propSheet.cordysProperties = propertySchema;


See Also


propertysheet